lib/pull: Fix construction of a refspec to use the correct separator
authorPhilip Withnall <withnall@endlessm.com>
Wed, 7 Jun 2017 13:29:55 +0000 (14:29 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 13 Jun 2017 01:03:49 +0000 (01:03 +0000)
commit21eec96bfdc553fc77f842776758c3dfe61e0185
tree5b2cf4623fa74f37e2e36174c706b76e008cf384
parent7159bed8e182781ccdc9a5913457cf6fda0bcfbe
lib/pull: Fix construction of a refspec to use the correct separator

This code looks like it was supposed to build a refspec, but it used a
slash as a separator rather than a colon. The following code does
recover by supporting prefix matching with slashes, but it seems like
this was perhaps not the intention.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #912
Approved by: cgwalters
src/libostree/ostree-repo-pull.c